import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 全局引入 elementui 组件库
import Element from 'element-ui';
Vue.use(Element, { zIndex: 3000 , locale});
// 国际化 - 按钮显示中文
import locale from 'element-ui/lib/locale/lang/zh-CN'
// 样式
import 'element-ui/lib/theme-chalk/index.css';

// import locale from 'element-ui/lib/locale/lang/en'

Vue.config.productionTip = false

// 根组件
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
